package cn.edu.gzist.chapter08.service;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

@Service
public class DirectReceiver {
    @RabbitListener(queues = "hello.direct")
    public void handler1(String msg){
        System.out.println("handler1====="+msg);
    }
}
